import Vue from 'vue'
import Vuex from 'vuex'

import app from "./modules/app"
import user from "./modules/user"

Vue.use(Vuex)

export default new Vuex.Store({
  // vuex分模块并将各模块导入
  modules: {
    app,
    user
  },
  state: {
  },
  mutations: {
  },
  actions: {
  }
  
})
